package com.nuaa.qianru.service;


import com.nuaa.qianru.mqtt.Client;
import com.nuaa.qianru.mqtt.Client1;
import com.nuaa.qianru.mqtt.Client2;
import com.nuaa.qianru.mqtt.Client3;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class realTime implements CommandLineRunner {

    @Autowired
    Client client;
    @Autowired
    Client1 client1;
    @Autowired
    Client2 client2;
    @Autowired
    Client3 client3;



    @Override
    public void run(String... args) throws Exception {
        /*client.start();
        client1.start();
        client2.start();
        client3.start();*/
    }
}
